3.181 \(\int \left (c+e x^2\right )^2 \left (a+b x^4\right )^p \, dx\)

Optimal. Leaf size=150 \[ -\frac{x \left (a+b x^4\right )^p \left (\frac{b x^4}{a}+1\right )^{-p} \left (a e^2-b c^2 (4 p+5)\right ) \, _2F_1\left (\frac{1}{4},-p;\frac{5}{4};-\frac{b x^4}{a}\right )}{b (4 p+5)}+\frac{2}{3} c e x^3 \left (a+b x^4\right )^p \left (\frac{b x^4}{a}+1\right )^{-p} \, _2F_1\left (\frac{3}{4},-p;\frac{7}{4};-\frac{b x^4}{a}\right )+\frac{e^2 x \left (a+b x^4\right )^{p+1}}{b (4 p+5)} \]

[Out]

(e^2*x*(a + b*x^4)^(1 + p))/(b*(5 + 4*p)) - ((a*e^2 - b*c^2*(5 + 4*p))*x*(a + b*
x^4)^p*Hypergeometric2F1[1/4, -p, 5/4, -((b*x^4)/a)])/(b*(5 + 4*p)*(1 + (b*x^4)/
a)^p) + (2*c*e*x^3*(a + b*x^4)^p*Hypergeometric2F1[3/4, -p, 7/4, -((b*x^4)/a)])/
(3*(1 + (b*x^4)/a)^p)

_______________________________________________________________________________________

Rubi [A]  time = 0.269505, antiderivative size = 142, normalized size of antiderivative = 0.95, number of steps used = 7, number of rules used = 6, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.316 \[ x \left (a+b x^4\right )^p \left (\frac{b x^4}{a}+1\right )^{-p} \left (c^2-\frac{a e^2}{4 b p+5 b}\right ) \, _2F_1\left (\frac{1}{4},-p;\frac{5}{4};-\frac{b x^4}{a}\right )+\frac{2}{3} c e x^3 \left (a+b x^4\right )^p \left (\frac{b x^4}{a}+1\right )^{-p} \, _2F_1\left (\frac{3}{4},-p;\frac{7}{4};-\frac{b x^4}{a}\right )+\frac{e^2 x \left (a+b x^4\right )^{p+1}}{b (4 p+5)} \]

Antiderivative was successfully verified.

[In]  Int[(c + e*x^2)^2*(a + b*x^4)^p,x]

[Out]

(e^2*x*(a + b*x^4)^(1 + p))/(b*(5 + 4*p)) + ((c^2 - (a*e^2)/(5*b + 4*b*p))*x*(a
+ b*x^4)^p*Hypergeometric2F1[1/4, -p, 5/4, -((b*x^4)/a)])/(1 + (b*x^4)/a)^p + (2
*c*e*x^3*(a + b*x^4)^p*Hypergeometric2F1[3/4, -p, 7/4, -((b*x^4)/a)])/(3*(1 + (b
*x^4)/a)^p)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 25.4957, size = 124, normalized size = 0.83 \[ c^{2} x \left (1 + \frac{b x^{4}}{a}\right )^{- p} \left (a + b x^{4}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{1}{4} \\ \frac{5}{4} \end{matrix}\middle |{- \frac{b x^{4}}{a}} \right )} + \frac{2 c e x^{3} \left (1 + \frac{b x^{4}}{a}\right )^{- p} \left (a + b x^{4}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{3}{4} \\ \frac{7}{4} \end{matrix}\middle |{- \frac{b x^{4}}{a}} \right )}}{3} + \frac{e^{2} x^{5} \left (1 + \frac{b x^{4}}{a}\right )^{- p} \left (a + b x^{4}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{5}{4} \\ \frac{9}{4} \end{matrix}\middle |{- \frac{b x^{4}}{a}} \right )}}{5} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((e*x**2+c)**2*(b*x**4+a)**p,x)

[Out]

c**2*x*(1 + b*x**4/a)**(-p)*(a + b*x**4)**p*hyper((-p, 1/4), (5/4,), -b*x**4/a)
+ 2*c*e*x**3*(1 + b*x**4/a)**(-p)*(a + b*x**4)**p*hyper((-p, 3/4), (7/4,), -b*x*
*4/a)/3 + e**2*x**5*(1 + b*x**4/a)**(-p)*(a + b*x**4)**p*hyper((-p, 5/4), (9/4,)
, -b*x**4/a)/5

_______________________________________________________________________________________

Mathematica [A]  time = 0.0547916, size = 106, normalized size = 0.71 \[ \frac{1}{15} x \left (a+b x^4\right )^p \left (\frac{b x^4}{a}+1\right )^{-p} \left (15 c^2 \, _2F_1\left (\frac{1}{4},-p;\frac{5}{4};-\frac{b x^4}{a}\right )+e x^2 \left (10 c \, _2F_1\left (\frac{3}{4},-p;\frac{7}{4};-\frac{b x^4}{a}\right )+3 e x^2 \, _2F_1\left (\frac{5}{4},-p;\frac{9}{4};-\frac{b x^4}{a}\right )\right )\right ) \]

Antiderivative was successfully verified.

[In]  Integrate[(c + e*x^2)^2*(a + b*x^4)^p,x]

[Out]

(x*(a + b*x^4)^p*(15*c^2*Hypergeometric2F1[1/4, -p, 5/4, -((b*x^4)/a)] + e*x^2*(
10*c*Hypergeometric2F1[3/4, -p, 7/4, -((b*x^4)/a)] + 3*e*x^2*Hypergeometric2F1[5
/4, -p, 9/4, -((b*x^4)/a)])))/(15*(1 + (b*x^4)/a)^p)

_______________________________________________________________________________________

Maple [F]  time = 0.062, size = 0, normalized size = 0. \[ \int \left ( e{x}^{2}+c \right ) ^{2} \left ( b{x}^{4}+a \right ) ^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((e*x^2+c)^2*(b*x^4+a)^p,x)

[Out]

int((e*x^2+c)^2*(b*x^4+a)^p,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (e x^{2} + c\right )}^{2}{\left (b x^{4} + a\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x^2 + c)^2*(b*x^4 + a)^p,x, algorithm="maxima")

[Out]

integrate((e*x^2 + c)^2*(b*x^4 + a)^p, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (e^{2} x^{4} + 2 \, c e x^{2} + c^{2}\right )}{\left (b x^{4} + a\right )}^{p}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x^2 + c)^2*(b*x^4 + a)^p,x, algorithm="fricas")

[Out]

integral((e^2*x^4 + 2*c*e*x^2 + c^2)*(b*x^4 + a)^p, x)

_______________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x**2+c)**2*(b*x**4+a)**p,x)

[Out]

Timed out

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (e x^{2} + c\right )}^{2}{\left (b x^{4} + a\right )}^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x^2 + c)^2*(b*x^4 + a)^p,x, algorithm="giac")

[Out]

integrate((e*x^2 + c)^2*(b*x^4 + a)^p, x)